<div class="printers form">
    <?php echo $this->Form->create('Printer'); ?>
    <fieldset>
        <legend><?php __('Add Printer'); ?></legend>
        <?php
        if ($this->params['pass'] == null) {
            echo $this->Form->input('network_id');
        } else {
            echo $this->Form->hidden('network_id', array('value' => $this->params['pass']['0']));
        }
        echo $this->Form->input('name');
        echo $this->Form->input('driver');
        echo $this->Form->input('port');
        ?>
    </fieldset>
<?php echo $this->Form->end(__('Submit', true)); ?>
    </div>